package com.chinaoly.baotou.web.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "users")
@ApiModel(value = "用户实体",description = "存储用户信息")
public class UsersVo {
    //用户ID
    @Id
    @ApiModelProperty(value = "用户主键ID",required = false)
    private Integer id;
    //用户姓名
    @ApiModelProperty(value = "用户名",required = true)
    private String name;

    //用户性别 男：1；女：2
    @ApiModelProperty(value = "性别",required = true)
    private String sex;
    //用户电话
    @ApiModelProperty(value = "用户电话",required = true)
    private String phone;
    //身份证号码
    @ApiModelProperty(value = "身份证号码",required = true)
    private String sfzhm;
    //是否党员 是：1；否：2
    @ApiModelProperty(value = "是否党员 是：1；否：2",required = false)
    private String sfdy;
    //工作单位
    @ApiModelProperty(value = "工作单位",required = false)
    private String work;
    //现住址
    @ApiModelProperty(value = "现住址",required = true)
    private String address;
    //荣誉证书
    @ApiModelProperty(value = "荣誉证书",required = false)
    private String ryzs;
    //职业
    @ApiModelProperty(value = "职业",required = false)
    private String zy;
    //职业图片
    @ApiModelProperty(value = "职业图片",required = false)
    private String zytp;
    //特长
    @ApiModelProperty(value = "特长",required = false)
    private String tc;
    //个人头像
    @ApiModelProperty(value = "个人头像",required = false)
    private String grtx;
    //服务意向 关联字典表
    @ApiModelProperty(value = "服务意向 关联字典表",required = false)
    private String fwyx;
    //在线状态 1，在线；2，离线
    @ApiModelProperty(value = "在线状态 1，在线；2，离线",required = false)
    private String zxzt;
    //义警时长 天
    @ApiModelProperty(value = "义警时长 天",required = false)
    private String yjsc;
    //义警编号 义警号
    @ApiModelProperty(value = "义警编号 义警号",required = false)
    private String yjcode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSfzhm() {
        return sfzhm;
    }

    public void setSfzhm(String sfzhm) {
        this.sfzhm = sfzhm;
    }

    public String getSfdy() {
        return sfdy;
    }

    public void setSfdy(String sfdy) {
        this.sfdy = sfdy;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRyzs() {
        return ryzs;
    }

    public void setRyzs(String ryzs) {
        this.ryzs = ryzs;
    }

    public String getZy() {
        return zy;
    }

    public void setZy(String zy) {
        this.zy = zy;
    }

    public String getZytp() {
        return zytp;
    }

    public void setZytp(String zytp) {
        this.zytp = zytp;
    }

    public String getTc() {
        return tc;
    }

    public void setTc(String tc) {
        this.tc = tc;
    }

    public String getGrtx() {
        return grtx;
    }

    public void setGrtx(String grtx) {
        this.grtx = grtx;
    }

    public String getFwyx() {
        return fwyx;
    }

    public void setFwyx(String fwyx) {
        this.fwyx = fwyx;
    }

    public String getZxzt() {
        return zxzt;
    }

    public void setZxzt(String zxzt) {
        this.zxzt = zxzt;
    }

    public String getYjsc() {
        return yjsc;
    }

    public void setYjsc(String yjsc) {
        this.yjsc = yjsc;
    }

    public String getYjcode() {
        return yjcode;
    }

    public void setYjcode(String yjcode) {
        this.yjcode = yjcode;
    }

    @Override
    public String toString() {
        return "UsersVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", sfzhm='" + sfzhm + '\'' +
                ", sfdy='" + sfdy + '\'' +
                ", work='" + work + '\'' +
                ", address='" + address + '\'' +
                ", ryzs='" + ryzs + '\'' +
                ", zy='" + zy + '\'' +
                ", zytp='" + zytp + '\'' +
                ", tc='" + tc + '\'' +
                ", grtx='" + grtx + '\'' +
                ", fwyx='" + fwyx + '\'' +
                ", zxzt='" + zxzt + '\'' +
                ", yjsc='" + yjsc + '\'' +
                ", yjcode='" + yjcode + '\'' +
                '}';
    }
}
